<form>
  <h1>Displaying results for <%=  h(params[:starts_at]) %> to <%= h(params[:ends_at]) %> </h1>
  <div class="show_container">

    <br />
    <label><%= "#{@events.size} events" %></label> | <label><%= "#{@visitors.size} visitors total" %></label> <br/>
    <br />
    <div>
      <% @events.each do |e| %>
        <%= link_to("#{e.name} - #{e.visitors.size} visitors", event_path(e), :style => "text-decoration: underline") %>
      <div style="margin-left: 1em;">
        <% e.visitors.each do |v| %>
          <%= "#{v.name}" %> <br />
        <% end %>
      </div>
      <br />
      <% end %>
    </div>
  </div>
</form>
